<script setup lang="ts">
function handleClickLeft() {
  uni.navigateBack()
}
</script>

<template>
  <view class="h-full flex flex-col overflow-hidden bg-white">
    <wd-navbar title="新建备注" left-text="返回" left-arrow @click-left="handleClickLeft" />
    <view class="flex-1">
      <wd-form>
        <wd-cell-group border>
          <wd-input
            label="标签名称"
            placeholder="请输入"
            custom-input-class="text-align-right"
            placeholder-class="text-align-right"
          />
          <wd-cell title="是否启用">
            <wd-switch size="small" />
          </wd-cell>
        </wd-cell-group>
      </wd-form>
    </view>
    <view class="flex border-t-1 border-border border-t-solid bg-white p-4">
      <wd-button type="primary" :round="false" class="flex-1">保存</wd-button>
    </view>
  </view>
</template>

<style scoped lang="scss"></style>
